package com.todo.content.iface.backend.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/16 09:34
 * @description
 */
@Data
@Schema(title = "内容话题详情信息",description = "内容话题详情信息")
public class ContentTopicDetailByIdResp {
    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(title = "主键id",description = "主键id")
    private Long id;
    /**
     * 话题名称
     */
    @Schema(title = "话题名称",description = "话题名称")
    private String name;
    /**
     * 描述
     */
    @Schema(title = "描述",description = "描述")
    private String desc;
    /**
     * 话题类型
     */
    @Schema(title = "话题类型",description = "话题类型")
    private Integer topicType;
    /**
     * 背景图
     */
    @Schema(title = "背景图",description = "背景图")
    private String backendImg;
    /**
     * 浏览量
     */
    @Schema(title = "浏览量",description = "浏览量")
    private Integer seeCount;
    /**
     * 参与量
     */
    @Schema(title = "参与量",description = "参与量")
    private Integer joinCount;
    /**
     * 内容量
     */
    @Schema(title = "内容量",description = "内容量")
    private Integer contentCount;
    /**
     * 是否开启
     */
    @Schema(title = "是否开启",description = "是否开启")
    private Integer isEnable;
    /**
     * 创建人
     */
    @Schema(title = "创建人",description = "创建人")
    private String createUser;
    /**
     * 更新人
     */
    @Schema(title = "更新人",description = "更新人")
    private String lastUpdateUser;
}
